//
//  ALOneRightModel.m
//  Ummy.G
//
//  Created by 安林 on 16/10/8.
//  Copyright © 2016年 安林. All rights reserved.
//

#import "ALOneRightModel.h"

@implementation ALOneRightModel

-(instancetype)initWithDict:(NSDictionary *)dict{
    if (self = [super init]) {
        
        //数组通过下标来取值
        _subnames = dict[@"list"][1][@"name"];
    }
    return self;
}
+(instancetype)oneRightWithDict:(NSDictionary *)dict{
    return [[self alloc]initWithDict:dict];
}

@end
